package com.shc.community.dao;

import com.shc.community.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    User findById(Integer id);

    User fingByName(String name);

    User findByEmail(String email);

    int addUser(User user);

    int updateStatus(int id , int status);

    int updateHeader(int id , String headerUrl);

    int updatePassword(int id , String password);
}
